3.575 \(\int x^3 \left (a+b x^n+c x^{2 n}\right )^{3/2} \, dx\)

Optimal. Leaf size=149 \[ \frac{a x^4 \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{4}{n};-\frac{3}{2},-\frac{3}{2};\frac{n+4}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{4 \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]

[Out]

(a*x^4*Sqrt[a + b*x^n + c*x^(2*n)]*AppellF1[4/n, -3/2, -3/2, (4 + n)/n, (-2*c*x^
n)/(b - Sqrt[b^2 - 4*a*c]), (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c])])/(4*Sqrt[1 + (2*
c*x^n)/(b - Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^n)/(b + Sqrt[b^2 - 4*a*c])])

_______________________________________________________________________________________

Rubi [A]  time = 0.468794, antiderivative size = 149, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{a x^4 \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{4}{n};-\frac{3}{2},-\frac{3}{2};\frac{n+4}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{4 \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]

Antiderivative was successfully verified.

[In]  Int[x^3*(a + b*x^n + c*x^(2*n))^(3/2),x]

[Out]

(a*x^4*Sqrt[a + b*x^n + c*x^(2*n)]*AppellF1[4/n, -3/2, -3/2, (4 + n)/n, (-2*c*x^
n)/(b - Sqrt[b^2 - 4*a*c]), (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c])])/(4*Sqrt[1 + (2*
c*x^n)/(b - Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^n)/(b + Sqrt[b^2 - 4*a*c])])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 38.3291, size = 129, normalized size = 0.87 \[ \frac{a x^{4} \sqrt{a + b x^{n} + c x^{2 n}} \operatorname{appellf_{1}}{\left (\frac{4}{n},- \frac{3}{2},- \frac{3}{2},\frac{n + 4}{n},- \frac{2 c x^{n}}{b - \sqrt{- 4 a c + b^{2}}},- \frac{2 c x^{n}}{b + \sqrt{- 4 a c + b^{2}}} \right )}}{4 \sqrt{\frac{2 c x^{n}}{b - \sqrt{- 4 a c + b^{2}}} + 1} \sqrt{\frac{2 c x^{n}}{b + \sqrt{- 4 a c + b^{2}}} + 1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**3*(a+b*x**n+c*x**(2*n))**(3/2),x)

[Out]

a*x**4*sqrt(a + b*x**n + c*x**(2*n))*appellf1(4/n, -3/2, -3/2, (n + 4)/n, -2*c*x
**n/(b - sqrt(-4*a*c + b**2)), -2*c*x**n/(b + sqrt(-4*a*c + b**2)))/(4*sqrt(2*c*
x**n/(b - sqrt(-4*a*c + b**2)) + 1)*sqrt(2*c*x**n/(b + sqrt(-4*a*c + b**2)) + 1)
)

_______________________________________________________________________________________

Mathematica [B]  time = 6.33341, size = 3165, normalized size = 21.24 \[ \text{Result too large to show} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[x^3*(a + b*x^n + c*x^(2*n))^(3/2),x]

[Out]

Sqrt[a + b*x^n + c*x^(2*n)]*(((64*a*c + 96*a*c*n + 3*b^2*n^2 + 32*a*c*n^2)*x^4)/
(8*c*(2 + n)*(4 + n)*(4 + 3*n)) + (b*(8 + 7*n)*x^(4 + n))/(4*(2 + n)*(4 + 3*n))
+ (c*x^(4 + 2*n))/(4 + 3*n)) - (48*a^3*b*n^2*x^(4 + n)*(b - Sqrt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- 4*a*c])] - (-b + Sqrt
[b^2 - 4*a*c])*n*x^n*AppellF1[2 + 4/n, 3/2, 1/2, 3 + 4/n, (-2*c*x^n)/(b + Sqrt[b
^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] - 8*a*(2 + n)*AppellF1[(4 + n)
/n, 1/2, 1/2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[
b^2 - 4*a*c])])) - (18*a^3*b*n^3*x^(4 + n)*(b - Sqrt[b^2 - 4*a*c] + 2*c*x^n)*(b
+ Sqrt[b^2 - 4*a*c] + 2*c*x^n)*AppellF1[(4 + n)/n, 1/2, 1/2, 2 + 4/n, (-2*c*x^n)
/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])])/((b - Sqrt[b^2 -
4*a*c])*(b + Sqrt[b^2 - 4*a*c])*(4 + n)^2*(4 + 3*n)*(a + x^n*(b + c*x^n))^(3/2)*
((b + Sqrt[b^2 - 4*a*c])*n*x^n*AppellF1[2 + 4/n, 1/2, 3/2, 3 + 4/n, (-2*c*x^n)/(
b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] - (-b + Sqrt[b^2 - 4
*a*c])*n*x^n*AppellF1[2 + 4/n, 3/2, 1/2, 3 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a
*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] - 8*a*(2 + n)*AppellF1[(4 + n)/n, 1/2,
 1/2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*
a*c])])) + (3*a^2*b^3*n^3*x^(4 + n)*(b - Sqrt[b^2 - 4*a*c] + 2*c*x^n)*(b + Sqrt[
b^2 - 4*a*c] + 2*c*x^n)*AppellF1[(4 + n)/n, 1/2, 1/2, 2 + 4/n, (-2*c*x^n)/(b + S
qrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])])/(2*c*(b - Sqrt[b^2 - 4*a
*c])*(b + Sqrt[b^2 - 4*a*c])*(4 + n)^2*(4 + 3*n)*(a + x^n*(b + c*x^n))^(3/2)*((b
 + Sqrt[b^2 - 4*a*c])*n*x^n*AppellF1[2 + 4/n, 1/2, 3/2, 3 + 4/n, (-2*c*x^n)/(b +
 Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] - (-b + Sqrt[b^2 - 4*a*
c])*n*x^n*AppellF1[2 + 4/n, 3/2, 1/2, 3 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]
), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] - 8*a*(2 + n)*AppellF1[(4 + n)/n, 1/2, 1/
2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c
])])) - (6*a^4*n^2*x^4*(b - Sqrt[b^2 - 4*a*c] + 2*c*x^n)*(b + Sqrt[b^2 - 4*a*c]
+ 2*c*x^n)*AppellF1[4/n, 1/2, 1/2, (4 + n)/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c])
, (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])])/((b - Sqrt[b^2 - 4*a*c])*(b + Sqrt[b^2 -
4*a*c])*(2 + n)*(4 + 3*n)*(a + x^n*(b + c*x^n))^(3/2)*(-4*a*(4 + n)*AppellF1[4/n
, 1/2, 1/2, (4 + n)/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[
b^2 - 4*a*c])] + n*x^n*((b + Sqrt[b^2 - 4*a*c])*AppellF1[(4 + n)/n, 1/2, 3/2, 2
+ 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] +
 (b - Sqrt[b^2 - 4*a*c])*AppellF1[(4 + n)/n, 3/2, 1/2, 2 + 4/n, (-2*c*x^n)/(b +
Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])]))) + (3*a^3*b^2*n^2*x^4*
(b - Sqrt[b^2 - 4*a*c] + 2*c*x^n)*(b + Sqrt[b^2 - 4*a*c] + 2*c*x^n)*AppellF1[4/n
, 1/2, 1/2, (4 + n)/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[
b^2 - 4*a*c])])/(2*c*(b - Sqrt[b^2 - 4*a*c])*(b + Sqrt[b^2 - 4*a*c])*(2 + n)*(4
+ 3*n)*(a + x^n*(b + c*x^n))^(3/2)*(-4*a*(4 + n)*AppellF1[4/n, 1/2, 1/2, (4 + n)
/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] + n*
x^n*((b + Sqrt[b^2 - 4*a*c])*AppellF1[(4 + n)/n, 1/2, 3/2, 2 + 4/n, (-2*c*x^n)/(
b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] + (b - Sqrt[b^2 - 4*
a*c])*AppellF1[(4 + n)/n, 3/2, 1/2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]),
 (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])]))) - (3*a^4*n^3*x^4*(b - Sqrt[b^2 - 4*a*c]
+ 2*c*x^n)*(b + Sqrt[b^2 - 4*a*c] + 2*c*x^n)*AppellF1[4/n, 1/2, 1/2, (4 + n)/n,
(-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])])/((b - S
qrt[b^2 - 4*a*c])*(b + Sqrt[b^2 - 4*a*c])*(2 + n)*(4 + 3*n)*(a + x^n*(b + c*x^n)
)^(3/2)*(-4*a*(4 + n)*AppellF1[4/n, 1/2, 1/2, (4 + n)/n, (-2*c*x^n)/(b + Sqrt[b^
2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] + n*x^n*((b + Sqrt[b^2 - 4*a*c]
)*AppellF1[(4 + n)/n, 1/2, 3/2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*
c*x^n)/(-b + Sqrt[b^2 - 4*a*c])] + (b - Sqrt[b^2 - 4*a*c])*AppellF1[(4 + n)/n, 3
/2, 1/2, 2 + 4/n, (-2*c*x^n)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^n)/(-b + Sqrt[b^2 -
 4*a*c])])))

_______________________________________________________________________________________

Maple [F]  time = 0.074, size = 0, normalized size = 0. \[ \int{x}^{3} \left ( a+b{x}^{n}+c{x}^{2\,n} \right ) ^{{\frac{3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^3*(a+b*x^n+c*x^(2*n))^(3/2),x)

[Out]

int(x^3*(a+b*x^n+c*x^(2*n))^(3/2),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac{3}{2}} x^{3}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^(2*n) + b*x^n + a)^(3/2)*x^3,x, algorithm="maxima")

[Out]

integrate((c*x^(2*n) + b*x^n + a)^(3/2)*x^3, x)

_______________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^(2*n) + b*x^n + a)^(3/2)*x^3,x, algorithm="fricas")

[Out]

Exception raised: TypeError

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**3*(a+b*x**n+c*x**(2*n))**(3/2),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{2 \, n} + b x^{n} + a\right )}^{\frac{3}{2}} x^{3}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^(2*n) + b*x^n + a)^(3/2)*x^3,x, algorithm="giac")

[Out]

integrate((c*x^(2*n) + b*x^n + a)^(3/2)*x^3, x)